package com.comleader.ldmapdownload.service;

import com.comleader.ldmapdownload.bean.LocationParamsVo;
import com.comleader.ldmapdownload.bean.StayLocationEntity;

import java.io.IOException;
import java.util.List;

/**
 * @author zhanghang
 * @date 2020-09-27 8:33
 * @description
 */
public interface LocationService {

    // 根据手机号获取用户当前所在位置
    StayLocationEntity getNowLocation(String userNum) throws IOException;


    // 根据用户手机号和时间区间获取
    List<StayLocationEntity> getStayLocation(LocationParamsVo locationParamsVo);
}
